/ Assembly List / LJCNetCommon / TextBuilder / AddText

Namespace - LJCNetCommon


Parameters
text - The add text.

Returns

The added text.

Syntax

C#
public Void AddText(String text)

Adds text without modification.

Remarks

AddText() is an "Append" method. It adds the unmodified text to the builder.

Example

C#
// Defaults: IndentCharCount = 2, LineLimit = 80, WrapEnabled = false.
var tb = new TextBuilder();

// Example Method:
// Adds text without modification.
tb.AddText("This is some appended text.");
var result = tb.ToString();

// result:
// This is some appended text.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.